import request from '@/utils/request'
export function apiChangeStatus(data, loading) {
  return request({
    url: "/device/deviceAccountController/changeStatus",
    method: 'post',
    data: data,
    loading
  })
}
// 新增
export function apiAdd(data, loading) {
  return request({
    url: "/device/deviceAccountController/add",
    method: 'post',
    data: data,
    loading
  })
}
// 新增带基础数据
export function apiAddAndBaseInfo(data, loading) {
  return request({
    url: "/device/deviceAccountController/addAndBaseInfo",
    method: 'post',
    data: data,
    loading
  })
}